package wyp.library.tools;

import android.graphics.Color;

public class WypColorTool {

	public static int setAlpha4Color(float _alphaPercentage, int _color) {
		int _alph = (int) (255 * _alphaPercentage);
		int _red = Color.red(_color);
		int _green = Color.green(_color);
		int _blue = Color.blue(_color);
		return Color.argb(_alph, _red, _green, _blue);
	}
}
